
<%@ page import="org.tailor.Client" %>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="layout" content="main" />
  <g:set var="entityName" value="${message(code: 'client.label', default: 'Client')}" />
  <title><g:message code="default.show.label" args="[entityName]" /></title>
</head>
<body>
  <div class="nav">
    <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
    <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
    <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
  </div>
  <div class="body">
    <h1><g:message code="default.show.label" args="[entityName]" /></h1>
    <g:if test="${flash.message}">
      <div class="message">${flash.message}</div>
    </g:if>
    <div class="dialog">
      <table>
        <tbody>

          <tr class="prop">
            <td valign="top" class="name"><g:message code="client.account.label" default="Account" /></td>

        <td valign="top" class="value">${fieldValue(bean: clientInstance, field: "account")}</td>

        </tr>
        <tr class="prop">
          <td valign="top" class="name"><g:message code="client.password.label" default="Password" /></td>

        <td valign="top" class="value">${fieldValue(bean: clientInstance, field: "password")}</td>

        </tr>
        <tr class="prop">
          <td valign="top" class="name"><g:message code="client.fullName.label" default="Full Name" /></td>

        <td valign="top" class="value">${fieldValue(bean: clientInstance, field: "fullName")}</td>

        </tr>
        <tr class="prop">
          <td valign="top" class="name"><g:message code="client.activationKey.label" default="Activation Key" /></td>

        <td valign="top" class="value">${fieldValue(bean: clientInstance, field: "activationKey")}</td>

        </tr>

        <tr class="prop">
          <td valign="top" class="name"><g:message code="client.address.label" default="Address" /></td>

        <td valign="top" class="value">${fieldValue(bean: clientInstance, field: "address")}</td>

        </tr>
        <tr class="prop">
          <td valign="top" class="name"><g:message code="client.country.label" default="Country" /></td>

        <td valign="top" class="value">${fieldValue(bean: clientInstance, field: "country")}</td>

        </tr>
        <tr class="prop">
          <td valign="top" class="name"><g:message code="client.email.label" default="Email" /></td>

        <td valign="top" class="value">${fieldValue(bean: clientInstance, field: "email")}</td>

        </tr>
        <tr class="prop">
          <td valign="top" class="name"><g:message code="client.phone.label" default="Phone" /></td>

        <td valign="top" class="value">${fieldValue(bean: clientInstance, field: "phone")}</td>

        </tr>

        <tr class="prop">
          <td valign="top" class="name"><g:message code="client.postalCode.label" default="Postal Code" /></td>

        <td valign="top" class="value">${fieldValue(bean: clientInstance, field: "postalCode")}</td>

        </tr>
        <tr class="prop">
          <td valign="top" class="name"><g:message code="client.cardExMo.label" default="Card Ex Mo" /></td>

        <td valign="top" class="value">${fieldValue(bean: clientInstance, field: "cardExMo")}</td>

        </tr>

        <tr class="prop">
          <td valign="top" class="name"><g:message code="client.cardExYr.label" default="Card Ex Yr" /></td>

        <td valign="top" class="value">${fieldValue(bean: clientInstance, field: "cardExYr")}</td>

        </tr>


        <tr class="prop">
          <td valign="top" class="name"><g:message code="client.creditCard.label" default="Credit Card" /></td>

        <td valign="top" class="value">${fieldValue(bean: clientInstance, field: "creditCard")}</td>

        </tr>

        <tr class="prop">
          <td valign="top" class="name"><g:message code="client.creditCardType.label" default="Credit Card Type" /></td>

        <td valign="top" class="value">${fieldValue(bean: clientInstance, field: "creditCardType")}</td>

        </tr>

        <tr class="prop">
          <td valign="top" class="name"><g:message code="client.dateCreated.label" default="Date Created" /></td>

        <td valign="top" class="value"><g:formatDate date="${clientInstance?.dateCreated}"  format= "MMM/dd/yyyy HH:MM:SS" /></td>

        </tr>



        </tbody>
      </table>
    </div>
    <div class="buttons">
      <g:form>
        <g:hiddenField name="id" value="${clientInstance?.id}" />
        <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
        <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
      </g:form>
    </div>
  </div>
</body>
</html>
